package cn.xny.txcc.service;

import cn.xny.txcc.domain.User;
import cn.xny.txcc.dto.UserDto;
import cn.xny.txcc.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 会员登录账号 服务类
 * </p>
 *
 * @author whale
 * @since 2023-03-08
 */
public interface IUserService extends IService<User> {

    //根据手机号码获取用户
    User loadPhone(String mobile);

    //手机注册
    void phoneRegister(UserDto userDto);
}
